package domain

import "gitee.com/tietang/terrace-go/v2/example/order"

type OrderRepository interface {
	Save(order order.Order) (id int64, err error)
	UpdateStatus(order order.Order) (rows int64, err error)
	GetOne(tradeNo string) *order.Order
	Get(id int64) *order.Order
}
